#
# C# Type Map
#

* =							void
void =						void
GLvoid =					void
void* =						IntPtr
GLvoid* =					IntPtr
GLvoid* const =				IntPtr
GLenum =					int
GLsizei =					Int32
GLsizeiptr =				UInt32
GLintptr =					IntPtr
GLboolean =					bool
GLboolean* =				bool*
GLbitfield =				uint
GLchar =					char
GLchar* =					string
GLbyte =					sbyte
GLubyte =					byte
const GLubyte * =			byte*
GLshort =					Int16
GLushort =					UInt16
GLint =						int
GLuint =					UInt32
GLfloat =					float
GLfloat* =					float*
GLclampf =					float
GLdouble =					double
GLdouble* =					double*
GLclampd =					double
GLstring =					string
GLsync =					int

GLsizeiptrARB =				IntPtr
GLintptrARB =				IntPtr
GLhandleARB =				UInt32
GLhalfARB =					UInt16
GLhalfNV =					UInt16
GLcharARB =					char
GLcharARB* =				string

GLint64EXT =				Int64
GLuint64EXT =				UInt64
GLint64 =					Int64
GLuint64 =					UInt64

unsigned int =				UInt32
unsigned long =				UInt32
int =						int
float =						float
const char * =				string
VOID =						void
LPVOID =					IntPtr
BOOL =						Boolean
DWORD =						Int32
INT =						Int32
UINT =						UInt32
FLOAT =						Single
USHORT =					UInt16
INT32 =						Int32
INT64 =						Int64
VoidPointer =				IntPtr
IntPtr =					Int32
Int32 =						Int32
String =					string

PROC =						IntPtr
LPCSTR =					String
COLORREF =					Int32

HANDLE =					IntPtr
HDC =						IntPtr
HGLRC =						IntPtr
HPBUFFEREXT =				IntPtr

PIXELFORMATDESCRIPTOR = 	PIXELFORMATDESCRIPTOR
LAYERPLANEDESCRIPTOR = 		IntPtr

HVIDEOINPUTDEVICENV = 		IntPtr
HVIDEOOUTPUTDEVICENV = 		IntPtr
HGPUNV =					IntPtr
HPBUFFERARB =				IntPtr
HPBUFFERARB =				IntPtr
HPVIDEODEV =				IntPtr
HPGPUNV =					IntPtr
PGPU_DEVICE =				IntPtr

Void =						void
Bool =						bool
int64_t =					Int64
int32_t =					Int32
unsigned int * =			IntPtr

Display =					IntPtr
Display * =					IntPtr
Window =					IntPtr
Window * =					IntPtr
Pixmap =					IntPtr
Pixmap * =					IntPtr
Colormap =					IntPtr
Colormap * =				IntPtr
Status =					Int32

# Special XVisualInfo management:
# Note: XVisualInfo * specify array of Glx.XVisualInfo
XVisualInfo =				Glx.XVisualInfo
XVisualInfo * =				IntPtr

GLXWindow =					IntPtr
GLXContext =				IntPtr
GLXContextID =				IntPtr
const GLXContext =			IntPtr
GLXDrawable =				IntPtr
GLXPixmap =					IntPtr
GLXPbuffer =				IntPtr
__GLXextFuncPtr =			IntPtr
GLXFBConfig =				IntPtr
GLXFBConfig * =				IntPtr *
GLXFBConfigSGIX =			IntPtr

GLXVideoCaptureDeviceNV =	IntPtr
GLXVideoCaptureDeviceNV * = IntPtr
GLXVideoDeviceNV =			IntPtr
GLXVideoDeviceNV * = 		IntPtr

GLXVideoSourceSGIX =		IntPtr
GLXHyperpipeNetworkSGIX =	IntPtr

VLServer =					IntPtr
VLPath =					IntPtr
VLNode =					IntPtr

GLDEBUGPROCARB =			IntPtr
GLDEBUGPROCAMD =			IntPtr

GLvdpauSurfaceNV =			IntPtr

struct _cl_context * =		IntPtr
struct _cl_event * =		IntPtr
